﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class LINQOrderby : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int[] num = { 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, };
        var result = from data in num where data > 50 orderby data descending select data;
        foreach (var i in result)
        {
            Label1.Text += i.ToString() + "<br>";
        }
    }
}